<template>
  <div class="wrap bi-data-layer-left-box animate__animated animate__fadeInLeft">
    <div class="top">
      <div class="content"> <img src="../../../assets/images/top_sd.png" style="height:25px;"><span>监控当前区域</span><img
          src="../../../assets/images/top_yb.png" style="width:80px;height:20px"></div>
    </div>
    <div class="toplefttitle">
      <span>厂区设备</span>
    </div>
    <div class="top">
      <div class="content"> <img src="../../../assets/images/top_sd.png" style="height:25px;"><span>设备数据</span><img
          src="../../../assets/images/top_yb.png" style="width:80px;height:20px"></div>
    </div>
    <div class="cont_nei">
      <div class="cont_top">
        <span class="shu">丨</span><span class="ctp">泵站</span>
      </div>
      <el-row>
        <el-col :span="12" style="overflow:hidden">
          <img src="../../../assets/images/u1.png" width="100%">
          <div class="tb_xia">
            <div class="nr">
              <span class="shand">⚡</span>
              今日电量<br>
              <span class="ndn">0.00</span>度

            </div>
          </div>
        </el-col>
        <el-col :span="12">
          <div class="u_right">
            <div align="center" class="u_title">进水指标</div>
            <ul class="u_ulli">
              <li v-for="(v, i) in $parent.$parent.inletLatelyList" :key="i">{{ v.indicators || '-' }}
                <div class="u_text"><span>{{ v.data || 0.00 }}</span>{{ v.unit || 'mg/L' }}</div>
              </li>
            </ul>
          </div>

        </el-col>
      </el-row>
    </div>
    <div class="cont_nei" style="margin:0px">
      <div class="cont_top">
        <span class="shu">丨</span><span class="ctp">移动超磁水体净化站</span>
      </div>
      <el-row>
        <el-col :span="12" style="overflow:hidden">
          <img src="../../../assets/images/u6.png" width="100%">
          <div class="tb_xia">
            <div class="nr">
              <span class="shand">⚡</span>
              今日电量<br>
              <span class="ndn">0.00</span>度

            </div>
          </div>
        </el-col>
        <el-col :span="12">
          <div class="u_right u_two">
            <div align="center" class="u_title">出水指标</div>
            <ul class="u_ulli">
              <li v-for="(v, i) in $parent.$parent.effluentLatelyList" :key="i">{{ v.indicators || '-' }}
                <div class="u_text"><span>{{ v.data || 0.00 }}</span>{{ v.unit || 'mg/L' }}</div>
              </li>
            </ul>
          </div>

        </el-col>
      </el-row>
    </div>

  </div>
</template>

<script>
import 'animate.css'


export default {
  name: 'LeftBox',
  props: [],
  data () {
    return {
      searchValue: '',
    }
  },
  computed: {
  },
  mounted () {

  },
  methods: {
    refreshList () {

    }
  }
}
</script>

<style lang="scss">
.bi-data-layer-left-box {
  .pagination {
    text-align: center;
  }

  .el-pagination {
    color: #ccc;
  }

  .el-pager {
    li {
      background: none !important;
      /*color: white !important;*/
    }
  }

  .btn-prev,
  .btn-next {
    background: none !important;
    color: #ccc !important;
  }

  .btn-quicknext {
    color: #ccc !important;
  }
}
</style>
<style lang="scss" scoped>
.wrap {
  position: fixed;
  top: 10vh;
  left: 2%;
  width: 400px;




  .top {
    background: url('../../../assets/images/lefttl.png') no-repeat;
    background-size: contain;
    display: flex;
    // justify-content: center;
    padding-left: 10px;
    align-items: center;
    height: 40px;

    .content {
      display: flex;
      align-items: center;
      // padding: 15px;
      // background-image: linear-gradient(-90deg, #29bdd9 0%, #276ace 100%);
      background-image: linear-gradient(to top, #00E2F6, #FFFFFF);
      -webkit-background-clip: text;
      font-weight: bold;
      color: transparent;
      text-align: center;
      font-size: calc(100vw * 20/ 1920);

      span {
        margin: 0px 20px;
      }
    }
  }

  .toplefttitle {
    margin: 10px 0px;
    background: url('../../../assets/images/toptitle.png') no-repeat;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 100%;

    span {
      background-image: linear-gradient(to top, #FFFFFF, #00E2F6);
      -webkit-background-clip: text;
      font-weight: 400;
      color: transparent;
      font-size: calc(100vw * 34.58/ 1920);
      // text-shadow: 0px 2px 0px #000000;
    }
  }

  .cont_nei {
    padding: 10px;
    margin: 10px 0 0 0;
    background: url('../../../assets/images/contbg.png') -38px -38px no-repeat;
    background-size: inherit;
    width: 100%;

    .cont_top {
      background: url('../../../assets/images/conttp.png') 15px 0px no-repeat;
      background-size: contain;

      .shu {
        background-image: linear-gradient(to top, #2CFF99, #18FBF2);
        -webkit-background-clip: text;
        font-weight: bold;
        color: transparent;
      }

      .ctp {
        padding-left: 5px;
        background-image: linear-gradient(to top, #FFFFFF, #00E2F6);
        -webkit-background-clip: text;
        font-weight: bold;
        color: transparent;
      }
    }

    .tb_xia {
      background: url('../../../assets/images/u2.png') 0px 0px no-repeat;
      background-size: contain;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 10vh;

      .nr {
        font-size: calc(100vw * 14/ 1920);
        color: #00EAFF;
        font-weight: 400;
        width: 70%;
        letter-spacing: 1px;

        .shand {
          background-image: linear-gradient(to top, #2CFF99, #18FBF2);
          -webkit-background-clip: text;
          font-weight: bold;
          color: transparent;
          font-size: calc(100vw * 27/ 1920);
          float: left;
        }

        .ndn {
          font-size: calc(100vw * 25/ 1920);
          color: #fff;
          font-weight: bold;
          text-shadow: 0px 2px 0px #000000;
        }
      }
    }

    .u_two {
      background: url('../../../assets/images/u7.png') 0px 0px no-repeat !important;
      background-size: cover !important;
    }

    .u_right {
      background: url('../../../assets/images/u3.png') 0px 0px no-repeat;
      background-size: cover;
      height: 29vh;
      padding: 10px 0px 10px 20px;

      .u_title {
        font-size: calc(100vw * 16/ 1920);
        font-weight: bold;
        color: #67DAEE;
      }

      .u_ulli {
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;

        // margin: 0;
        // padding: 0;
        li {
          list-style-image: url('../../../assets/images/u5.png');
          font-size: calc(100vw * 13/ 1920);
          font-weight: 400;
          color: #FFFFFF;
          vertical-align: middle;
          margin-bottom: 10px;

          .u_text {
            color: #00EAFF;
            margin-top: 5px;

            span {
              font-size: calc(100vw * 19/ 1920);
            }
          }

        }

        li:last-child {
          list-style-image: url('../../../assets/images/u4.png');
        }
      }
    }
  }


  .mid {
    .content {
      display: flex;
      justify-content: space-around;
      padding: 10px 0px;
      color: white;
      text-align: center;
      margin-bottom: 10px;

    }
  }

  .down {
    .content {
      margin-bottom: 10px;

      .box {
        display: flex;
        padding: 10px;
        margin: 10px;
        border-bottom: solid 2px #aaa;
        background-color: rgb(200, 200, 200, 0.3);

        .left {
          text-align: center;
          font-size: calc(100vw * 50/ 1920);
          width: 80px;
        }

        .right {
          font-size: calc(100vw * 12/ 1920);

          th {
            color: #00ffff;
          }
        }
      }
    }
  }
}
</style>
